<template>
  <div class="app-container">
    <el-tabs v-model="activeName" type="card">
      <el-tab-pane label="年龄变化" name="first">
        <ChangeAgePic v-if="activeName === 'first'"></ChangeAgePic>
      </el-tab-pane>
      <el-tab-pane label="性别转换" name="second">
        <SwapGenderPic v-if="activeName === 'second'"></SwapGenderPic>
      </el-tab-pane>
      <el-tab-pane label="人像动漫化" name="third">
        <FaceCartoonPic v-if="activeName === 'third'"></FaceCartoonPic>
      </el-tab-pane>
      <el-tab-pane label="人像渐变" name="fourth">
        <MorphFace v-if="activeName === 'fourth'"></MorphFace>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import ChangeAgePic from "@/views/txcloud/face/facechange/changeAgePic";
import SwapGenderPic from "@/views/txcloud/face/facechange/swapGenderPic";
import FaceCartoonPic from "@/views/txcloud/face/facechange/faceCartoonPic";
import MorphFace from "@/views/txcloud/face/facechange/morphFace";
export default {
  name: "Facechange",
  components: {
    MorphFace,
    FaceCartoonPic,
    SwapGenderPic,
    ChangeAgePic,
  },
  data() {
    return {
      activeName: 'first',
    };
  },
  created() {
  },
  methods: {}
};
</script>
<style lang="scss" scoped>
.input-with-select .el-input-group__prepend {
  background-color: #fff;

  .el-select {
    width: 10vw;
  }
}
</style>
